package com.sc.nft.service;


import com.sc.nft.entity.RewardAllocation;
import com.sc.nft.entity.dto.ActivityAwardSaveDTO;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;

import java.util.List;

/**
* @author 张超
* @description 针对表【sc_reward_allocation(签到活动奖励配置表)】的数据库操作Service
* @createDate 2024-06-04 13:29:51
*/
public interface RewardAllocationService {

    void save(List<ActivityAwardSaveDTO> activityAwards, Long activityBasicsId, PrizeDrawActivityTypeEnum type);

    /**
     * 根据活动Id查询活动配置内容
     * @param activityId
     * @return
     */
    List<RewardAllocation> getRewardByActivityId(Long activityId);

    /**
     * 获取签到奖励周期配置领取上限
     * @param rewardByActivityId
     * @return
     */
    RewardAllocation getRewardAllocationById(Long rewardByActivityId);
}
